package handler

import (
	"web_framework/model"
	"web_framework/pkg/constvar"
	)

//保持心跳
type AppHeartHandle struct {
}

func (appHeartHandle AppHeartHandle) handleMsg(data model.Request, sn string) (result model.Response) {

	return model.Response{
		Mid:    data.Mid,
		Mtype:  constvar.AppHeartResponeMtype,
		Info:   "心跳正常",
		Status: constvar.StatusOk,
	}
}
